package com.xayy.health;

import cn.kawins.spring.KawinsSpringBootRun;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author zhangxa
 */
@EnableAsync
@SpringBootApplication(scanBasePackages = {
        "com.xayy",
        "com.xtck",
        "cn.hutool.extra.spring"
})
@EnableTransactionManagement
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan(basePackages = {
        "com.xayy.health.mgt.model.*.dao",
        "com.xayy.health.mgt.model.*.convert",
})
public class HealthApp {
    public static void main(String[] args) {
        KawinsSpringBootRun.run(HealthApp.class, args);
    }

}
